define(function(require, exports, module) {
  var lang = require('lang');
  module.exports = [
    {
      type: 'header',
      label: curUser.username + lang.get('hello')
    }, {
      type: 'treeview',
      label: lang.get('todo') + lang.get('manage'),
      icon: 'fa fa-pie-chart',
      menu: [
        {
          link: '#todo',
          label: lang.get('my') + lang.get('todo')
        }
      ]
    }, {
      type: 'treeview',
      label: '设置',
      icon: 'fa fa-pie-chart',
      menu: [
        {
          link: '#ucenter/password',
          label: '修改密码'
        }, {
          link: '/user/logout',
          label: '注销'
        }
      ]
    }
  ];
});